package com.lwc.cfdns.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lwc.cfdns.pojo.BaseEntity;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * 用户与岗位关联表（用户1-N岗位）
 *
 * @TableName cfdns_system_admin_station
 */
@TableName(value = "cfdns_system_admin_station")
@Data
public class SystemAdminStation extends BaseEntity implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long adminId;

    /**
     * 岗位ID
     */
    private Long stationId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}